package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by chuah on 11/19/14.
 */
public class MyNextPlay extends NXTThread {
    public MyNextPlay() {
        setNXTThreadName("Rush Hours");
    }

    public void run() {

        runMotor(PORT_A,80);
        runMotor(PORT_B,100);
        wait(2500);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        wait(500);
        runMotor(PORT_A,100);
        runMotor(PORT_B,80);
        wait(2500);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(20000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        reset();
    }
}
